Skip to content

ModuleHasDependencies and VersionPatterns #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 12, 2025

Conversation

MBoegers
Copy link
Contributor

@MBoegers MBoegers commented Aug 8, 2025

What's changed?

Fixed the parameter swap in ModuleHasDependency to fix configuration of delegates.

What's your motivation?

Allow preconditions on module dependencies to work with versions as well.

Anything in particular you'd like reviewers to focus on?

The real fix is to be made in openrewrite/rewrite..

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

…cies` and its delegates. Also fix the parameter swap in `ModuleHasDependency`.
@MBoegers MBoegers self-assigned this Aug 8, 2025
@MBoegers MBoegers added the bug Something isn't working label Aug 8, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Aug 8, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • src/test/java/org/openrewrite/java/dependencies/DependencyInsightTest.java
    • lines 24-25

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • src/test/java/org/openrewrite/java/dependencies/DependencyInsightTest.java
    • lines 18-22

@MBoegers MBoegers marked this pull request as ready for review August 12, 2025 15:04
@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Aug 12, 2025
@MBoegers MBoegers merged commit 562f73a into main Aug 12, 2025
2 checks passed
@MBoegers MBoegers deleted the boeg/module-has-dependencies-and-versions branch August 12, 2025 15:45
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants